import { createStore } from "vuex";
import login from "@/store/login/login";
import { IRootState } from "@/store/type";

const store = createStore<IRootState>({
  state() {
    return {
      name: "",
      age: 0,
    };
  },

  getters: {},
  mutations: {},
  actions: {},
  modules: { login },
});
export default store;
